<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>当当购物车</title>
    <link rel="stylesheet" href="./css/style.css">
</head>
<body>
    <div class="container">
        <div class="header">
            <img src="./image/dd_logo.jpg" alt="logo">
        </div>
        <div class="book-list">
            <table>
               
            </table>
            <h2>商品总价: <span id="totalPrice">￥0</span></h2>
        </div>

        <div class="book-add-wrapper">
            <form>
                <div class="item">
                    <label for="">书籍名称: </label>
                    <input type="text" name="bookname" class='bookname'>
                    <span></span>
                </div>
                <div class="item">
                    <label for="">书籍价格: </label>
                    <input type="text" name="bookprice" class='bookprice'>
                    <span></span>
                </div>
                <div class="item">
                    <label for="">书籍图片: </label>
                    <input type="text" name="bookpicture" class='bookpicture'>
                    <span></span>
                </div>
                <button type="button" id="addbookbtn">添加书籍</button>
            </form>
        </div>

    </div>

    <script src="./js/jquery-3.6.0.js"></script>
    <script src="./js/cart.js"></script>
</body>
</html>